<div style='width: 400px; height: 50px;'>

<?php foreach( $arDirs as $name => $value ): ?>
    <?php echo $name ?>&nbsp;[<?php echo $value['w'] ?>x<?php echo $value['h'] ?>]&nbsp;|
<?php endforeach; ?><br />
</div>

        <div style='width: 100px; height: 200px; float: left;'>
        <?php echo link_to_function(
                        image_tag(
                            'arrow_up.png'
                            , array(
                                'alt' => $obj->getPriority()
                                , 'title' => $obj->getPriority()
                            )
                        )
                        , 'PriorityUp(' . $obj->getId() . ')'
                    ) ?>
        </div>
